<div class="panel panel-default panel-intro">
    
    <div class="panel-heading">
        {:build_heading(null,FALSE)}
        <ul class="nav nav-tabs" data-field="status">
            <li class="{:$Think.get.status === null ? 'active' : ''}"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>
            {foreach name="statusList" item="vo"}
            <li class="{:$Think.get.status === (string)$key ? 'active' : ''}"><a href="#t-{$key}" data-value="{$key}" data-toggle="tab">{$vo}</a></li>
            {/foreach}
        </ul>
    </div>


    <div class="panel-body">
        <di id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('kzvote/person/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('kzvote/person/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                        <a class="btn btn-success btn-disabled disabled btn-grouping {:$auth->check('kzvote/person/grouping')?'':'hide'}" href="javascript:;" data-url="kzvote/person/grouping" data-title="批量活动" title="{:__('批量活动')}"><i class="fa fa-pencil"></i>{:__('批量活动')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('kzvote/person/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
                        <a class="btn btn-info btn-disabled disabled btn-disagree btn-multi {:$auth->check('kzvote/person/multi')?'':'hide'}" href="javascript:;" data-params="status=20"><i class="fa fa-check-square"></i> 审核通过</a>
                        <a class="btn btn-warning btn-disabled disabled btn-disagree btn-multi {:$auth->check('kzvote/person/multi')?'':'hide'}" href="javascript:;" data-params="status=30"><i class="fa fa-minus-square"></i> 审核驳回</a>
<!--                        <a href="javascript:;" class="btn btn-danger btn-importPage" title="{:__('Import')}" id="btn-import-file"><i class="fa fa-upload"></i> {:__('Import')}</a>-->
                        <a href="javascript:;" class="btn btn-success btn-export {:$auth->check('kzvote/person/export')?'':'hide'}" title="{:__('Export')}" id="btn-export-file"><i class="fa fa-download"></i> {:__('Export')}</a>
                        <a href="javascript:;" class="btn btn-info btn-import  {:$auth->check('kzvote/person/import')?'':'hide'}" title="{:__('import')}" ><i class="fa fa-upload"></i> {:__('import')}</a>




                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('kzvote/person/edit')}"
                           data-operate-del="{:$auth->check('kzvote/person/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </di>
    </div>
</div>
<script id="typetpl" type="text/html">
    <div class="row">
        <div class="col-xs-12">
            <select name="group" class="form-control">
                <option value="">{:__('请选择活动')}</option>
                {foreach name="group" id="item"}
                <option value="{$item.id}">{$item.name}</option>
                {/foreach}
            </select>
        </div>
    </div>
</script>